//
//  LBSimutaneousController.m
//  TEXT
//
//  Created by mac on 2024/6/28.
//  Copyright © 2024 刘博. All rights reserved.
//

#import "LBSimutaneousController.h"
#import "LBBigSimutaneousView.h"
#import "LBMiddleSimutaneousView.h"
#import "LBSmallSimutaneousView.h"

@interface LBSimutaneousController ()

@end

@implementation LBSimutaneousController

- (void)viewDidLoad {
    [super viewDidLoad];
    
    LBBigSimutaneousView *big = [[LBBigSimutaneousView alloc] initWithFrame:CGRectMake(10, 100, 300, 300)];
    big.backgroundColor = [UIColor redColor];
    
    LBMiddleSimutaneousView *middel = [[LBMiddleSimutaneousView alloc] initWithFrame:CGRectMake(100, 100, 100, 100)];
    
    LBSmallSimutaneousView *small = [[LBSmallSimutaneousView alloc] initWithFrame:CGRectMake(50, 50, 50, 50)];
    
    [big addSubview:middel];
    [middel addSubview:small];
    [self.view addSubview:big];
    // Do any additional setup after loading the view.
}

/*
#pragma mark - Navigation

// In a storyboard-based application, you will often want to do a little preparation before navigation
- (void)prepareForSegue:(UIStoryboardSegue *)segue sender:(id)sender {
    // Get the new view controller using [segue destinationViewController].
    // Pass the selected object to the new view controller.
}
*/

@end
